Added gdk_pixmap_foreign_new_for_screen
authorMichael David Emmel <memmel@src.gnome.org>
Thu, 30 Mar 2006 16:14:18 +0000 (16:14 +0000)
committerMichael David Emmel <memmel@src.gnome.org>
Thu, 30 Mar 2006 16:14:18 +0000 (16:14 +0000)
ChangeLog
ChangeLog.pre-2-10
gdk/directfb/gdkpixmap-directfb.c

index eed8ef45af1fe6bccf2b39ce23d840c0af3997f7..0849a1c654c49b2c986cde6ea51924e917f7fba5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-30  Michael Emmel  <mike.emmel@gmail.com>
+
+    * gdk/directfb/gdkpixmap-directfb.c implement
+           (gdk_pixmap_foreign_new_for_screen)
+
 2006-03-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>
 
        Add documentation for the GtkLinkButton (#336592)
index eed8ef45af1fe6bccf2b39ce23d840c0af3997f7..0849a1c654c49b2c986cde6ea51924e917f7fba5 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-30  Michael Emmel  <mike.emmel@gmail.com>
+
+    * gdk/directfb/gdkpixmap-directfb.c implement
+           (gdk_pixmap_foreign_new_for_screen)
+
 2006-03-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>
 
        Add documentation for the GtkLinkButton (#336592)
index 6ddc6a292eac9718e3a8437898032bda3a2035ab..0525a81a5437d398b314dd9216bdbfe22335b264 100644 (file)
@@ -313,6 +313,18 @@ gdk_pixmap_foreign_new_for_display (GdkDisplay *display, GdkNativeWindow anid)
   return gdk_pixmap_foreign_new(anid);
 }
 
+GdkPixmap*
+gdk_pixmap_foreign_new_for_screen (GdkScreen       *screen,
+                                   GdkNativeWindow  anid,
+                                   gint             width,
+                                   gint             height,
+                                   gint             depth)
+{
+  /*Use the root drawable for now since only one screen */
+  return gdk_pixmap_new(NULL,width,height,depth);
+}
+
+
 GdkPixmap*
 gdk_pixmap_lookup (GdkNativeWindow anid)
 {